package com.google.code.p.narcissus.core.scripts;

import java.awt.Rectangle;
import java.io.FileNotFoundException;
import java.util.ArrayList;
import java.util.List;

import com.google.code.p.narcissus.core.NarcissusException;
import com.google.code.p.narcissus.core.util.ReferenceMetaDataCreator;


/**
 * Creates Reference metadata files for specific screenshots. Class utility is probably limited to the initial developer.
 * 
 * @author Jérôme JADOULLE [JADOJ] - 3 août 2010
 */
public class InitialTestsMetaDataCreator {

	public static void main(String[] args) throws FileNotFoundException, NarcissusException {
		ReferenceMetaDataCreator creator = new ReferenceMetaDataCreator();

		List<Rectangle> falsePositiveZones = new ArrayList<Rectangle>();
		falsePositiveZones.add(new Rectangle(429, 71, 42, 21));
		falsePositiveZones.add(new Rectangle(433, 102, 36, 10));

		creator.createMetaDataForReference("C:\\narcissus\\screenshots", "TheseosLoginTestCase", "testLogin", "mySuperScreenshot27", falsePositiveZones);
	}

}